<div class="box box-default">
  <div class="box-body">
    <div class="row">
      <div class="col-md-12">
        <div class="nav-tabs-custom">
          <ul class="nav nav-tabs">
            <li class="active">
              <a href="#tab_1" data-toggle="tab" (click)="clearFileType()">基础信息</a>
            </li>
            <li *ngIf="operate=='edit'">
              <a href="#tab_2" data-toggle="tab" (click)="loadFileTree()">产品文件</a>
            </li>
            <li *ngIf="operate=='edit'">
              <a href="#tab_7" data-toggle="tab" (click)="clearFileType()">投资经理</a>
            </li>
          </ul>
          <div class="tab-content" id="11">
            <!-- 基础信息 -->
            <div class="tab-pane active" id="tab_1">
              <!-- 公募 -->
              <form class="form-horizontal" *ngIf="operate == 'publicoffering'" #pulForm="ngForm" ngNativeValidate>
                <div class="form-group">
                  <label class="col-lg-2 text-right">
                    <span class="span-style">*</span>产品简称</label>
                  <div class="col-lg-3" [class.has-error]="sFundName.valid ===false && (sFundName.dirty || sFundName.touched)">
                    <input class="form-control" type="text" maxlength="50" name="sFundName" #sFundName="ngModel" [(ngModel)]="baseInfoPost.sFundName">
                  </div>
                  <div class="col-lg-1"></div>
                  <label class="col-lg-2 text-right">产品名称</label>
                  <div class="col-lg-3">
                    <input class="form-control form-fields" maxlength="50" name="sFullName" [(ngModel)]="baseInfoPost.sFullName" type="text">
                  </div>
                </div>

                <div class="form-group">
                  <label class="col-lg-2 text-right">
                    <span class="span-style">*</span>产品类型</label>
                  <div class="col-lg-3">
                    <input class="form-control" type="text" placeholder="公募" disabled>
                  </div>
                  <div class="col-lg-1"></div>
                  <label class="col-lg-2 text-right">产品代码</label>
                  <div class="col-lg-3">
                    <input class="form-control form-fields" type="text" maxlength="20" name="sFundCode" [(ngModel)]="baseInfoPost.sFundCode">
                  </div>
                </div>

                <div class="form-group">
                  <label class="col-lg-2 text-right">
                    <span class="span-style">*</span>基金类别</label>
                  <div class="col-lg-3">
                    <select class="form-control" name="sFundCategory" [(ngModel)]="baseInfoPost.sFundCategory">
                      <option [value]="''" selected="selected">--请选择--</option>
                      <option [value]="item.sItemKey" *ngFor="let item of dictionaryList.NEW_FUND_CATEGORY">{{item.sItemValue}}</option>
                    </select>
                  </div>
                  <div class="col-lg-1"></div>
                  <label class="col-lg-2 text-right">
                    <span class="span-style">*</span>QDII</label>
                  <div class="col-lg-3">
                    <select class="form-control" name="sIsQdii" [(ngModel)]="baseInfoPost.sIsQdii">
                      <option [value]="1">是</option>
                      <option [value]="0">否</option>
                    </select>
                  </div>
                </div>

                <div class="form-group">
                  <label class="col-lg-2 text-right">
                    <span class="span-style">*</span>基金运作方式</label>
                  <div class="col-lg-3">
                    <select class="form-control" name="sInvestStyle" [(ngModel)]="baseInfoPost.sInvestStyle">
                      <option [value]="''" selected="selected">--请选择--</option>
                      <option [value]="item.sItemKey" *ngFor="let item of dictionaryList.INVEST_STYLE">{{item.sItemValue}}</option>
                    </select>
                  </div>
                  <div class="col-lg-1"></div>
                  <label class="col-lg-2 text-right">
                    <span class="span-style">*</span>基金经理</label>
                  <div class="col-lg-3">
                    <select class="form-control select2 fields-select" multiple="multiple" name="managerSelectList" [(ngModel)]="managerSelectList">
                      <option [value]="item.sUserName" *ngFor="let item of managerList">{{item.sUserAndDept}}</option>
                    </select>
                  </div>
                </div>

                <div class="form-group">
                  <label class="col-lg-2 text-right">
                    <span class="span-style">*</span>是否上市基金</label>
                  <div class="col-lg-3">
                    <select class="form-control" name="sListType" [(ngModel)]="baseInfoPost.sListType" (click)="changeExchangeStatus()">
                      <option [value]="1">是</option>
                      <option [value]="0">否</option>
                    </select>
                  </div>
                  <div class="col-lg-1"></div>
                  <label class="col-lg-2 text-right">
                    <span class="span-style">*</span>交易所</label>
                  <div class="col-lg-3">
                    <select class="form-control" name="sExchange" [(ngModel)]="baseInfoPost.sExchange" [disabled]="booleanExchange" [required]="!booleanExchange">
                      <option [value]="''" selected="selected">--请选择--</option>
                      <option [value]="item.sItemKey" *ngFor="let item of dictionaryList.EXCHANGE">{{item.sItemValue}}</option>
                    </select>
                  </div>
                </div>

                <div class="form-group">
                  <label class="col-lg-2 text-right">托管行</label>
                  <div class="col-lg-3">
                    <select class="form-control" name="sBank" [(ngModel)]="baseInfoPost.sBank">
                      <option [value]="''" selected="selected">--请选择--</option>
                      <option [value]="item.sInstiCode" *ngFor="let item of bankDictionaryList">{{item.sShortName}}</option>
                    </select>
                  </div>
                  <div class="col-lg-1"></div>
                  <label class="col-lg-2 text-right">托管行确定时间</label>
                  <div class="col-lg-3">
                    <div class="input-group date form_datetime">
                      <span class="input-group-addon">
                        <i class="fa fa-calendar"></i>
                      </span>
                      <input class="form-control" type="text" name="dBankConfirm" mwlFlatpickr [ngModelOptions]="{standalone: false}" [(ngModel)]="baseInfoPost.dBankConfirm"
                        style="background: white; cursor: pointer;">
                    </div>
                  </div>
                </div>

                <div class="form-group">
                  <label class="col-lg-2 text-right">投资范围</label>
                  <div class="col-lg-3">
                    <input class="form-control" type="text" name="sInvestScope" [(ngModel)]="baseInfoPost.sInvestScope">
                  </div>
                  <div class="col-lg-1"></div>
                  <label class="col-lg-2 text-right">业绩比较基准</label>
                  <div class="col-lg-3">
                    <input class="form-control form-fields" name="sBenchmark" [(ngModel)]="baseInfoPost.sBenchmark" type="text">
                  </div>
                </div>

                <div class="form-group">
                  <label class="col-lg-2 text-right">管理费(%)</label>
                  <div class="col-lg-3">
                    <input class="form-control form-fields" [min]="0" maxlength="50" #sManagementFee="ngModel" name="sManagementFee" [(ngModel)]="baseInfoPost.sManagementFee">
                    <p *ngIf="sManagementFee.errors?.min" class="errorTip">请输入正数</p>
                  </div>
                  <div class="col-lg-1"></div>
                  <label class="col-lg-2 text-right">托管费(%)</label>
                  <div class="col-lg-3">
                    <input class="form-control form-fields" [min]="0" maxlength="50" #sTrusteeFee="ngModel" name="sTrusteeFee" [(ngModel)]="baseInfoPost.sTrusteeFee">
                    <p *ngIf="sTrusteeFee.errors?.min" class="errorTip">请输入正数</p>
                  </div>
                </div>

                <div class="form-group">
                  <label class="col-lg-2 text-right">其他费用</label>
                  <div class="col-lg-3">
                    <input class="form-control form-fields" maxlength="50" name="sOtherFee" [(ngModel)]="baseInfoPost.sOtherFee" type="text">
                  </div>
                  <div class="col-lg-1"></div>
                  <label class="col-lg-2 text-right">成立日期</label>
                  <div class="col-lg-3">
                    <div class="input-group date form_datetime">
                      <span class="input-group-addon">
                        <i class="fa fa-calendar"></i>
                      </span>
                      <input class="form-control" name="dEstablishment" type="text" mwlFlatpickr [ngModelOptions]="{standalone: true}" [(ngModel)]="baseInfoPost.dEstablishment"
                        style="background: white; cursor: pointer;">
                    </div>
                  </div>

                </div>

                <div class="form-group">
                  <label class="col-lg-2 text-right">发行日期</label>
                  <div class="col-lg-3">
                    <div class="input-group date form_datetime">
                      <span class="input-group-addon">
                        <i class="fa fa-calendar"></i>
                      </span>
                      <input class="form-control" type="text" name="dIssue" mwlFlatpickr [ngModelOptions]="{standalone: true}" [(ngModel)]="baseInfoPost.dIssue"
                        style="background: white; cursor: pointer;">
                    </div>
                  </div>
                  <div class="col-lg-1"></div>
                  <label class="col-lg-2 text-right" *ngIf="operate == 'edit'">创建日期</label>
                  <div class="col-lg-3" *ngIf="operate == 'edit'">
                    <div class="input-group date form_datetime">
                      <span class="input-group-addon">
                        <i class="fa fa-calendar"></i>
                      </span>
                      <input class="form-control" disabled type="text" mwlFlatpickr [ngModelOptions]="{standalone: true}" [(ngModel)]="baseInfoPost.dCreateTime"
                        style=" cursor: pointer;">
                    </div>
                  </div>
                </div>
                <div class="form-group">
                  <label class="col-lg-2 text-right" *ngIf="operate == 'edit'">创建人</label>
                  <div class="col-lg-3" *ngIf="operate == 'edit'">
                    <input class="form-control form-fields" type="text" name="sCreator" [(ngModel)]="baseInfoPost.sCreator" disabled>
                  </div>
                </div>

                <div class="form-group">
                  <label class="col-lg-2 text-right">备注</label>
                  <div class="col-lg-9">
                    <textarea style="width:100%" name="sRemark" [(ngModel)]="baseInfoPost.sRemark" id="" cols="15" rows="5"></textarea>
                  </div>
                </div>
                <div class="center-block" style="width:100px;" >
                  <button type="button" class="btn btn-primary" (click)="editBasicInfo()" [disabled]="sManagementFee.errors?.min || sTrusteeFee.errors?.min">
                    <i class="fa fa-save"></i>保存</button>
                </div>
              </form>
              <!-- 一对一 -->
              <form class="form-horizontal" *ngIf="operate == 'onetoone'" #otoAddForm="ngForm">
                  <!--投资发展部维护的字段-->
                  <div class="form-group">
                    <label class="col-lg-2 text-right">
                      <span class="span-style">*</span>产品名称</label>
                    <div class="col-lg-3">
                      <input class="form-control form-fields" type="text" maxlength="128" name="sFullName" [(ngModel)]="otoAddOrEditBody.sFullName"
                        required>
                    </div>
                    <div class="col-lg-1"></div>
                    <label class="col-lg-2 text-right">
                      <span class="span-style">*</span>产品简称</label>
                    <div class="col-lg-3">
                      <input class="form-control form-fields" type="text" maxlength="128" name="sFundName" [(ngModel)]="otoAddOrEditBody.sFundName"
                        required>
                    </div>
                  </div>
                  <div class="form-group">
                    <label class="col-lg-2 text-right">数字编码</label>
                    <div class="col-lg-3">
                      <input class="form-control form-fields" type="text" maxlength="20" name="sFundNumCode" [(ngModel)]="otoAddOrEditBody.sFundNumCode">
                    </div>
                    <div class="col-lg-1"></div>
                    <label class="col-lg-2 text-right">产品S码</label>
                    <div class="col-lg-3">
                      <input class="form-control form-fields" type="text" maxlength="25" name="sRecordCode" [(ngModel)]="otoAddOrEditBody.sRecordCode">
                    </div>
                  </div>
                  <div class="form-group">
                    <label class="col-lg-2 text-right">委托人</label>
                    <div class="col-lg-3">
                      <input class="form-control form-fields" type="text" maxlength="25" name="sPrincipal" [(ngModel)]="otoAddOrEditBody.sPrincipal"
                        disabled>
                    </div>
                    <div class="col-lg-1"></div>
                    <label class="col-lg-2 text-right">委托人类型(是否资管产品)</label>
                    <div class="col-lg-3">
                      <select class="form-control" name="sPrincipalType" [(ngModel)]="otoAddOrEditBody.sPrincipalType" (click)="otoIsPrincipalType()">
                        <option value="1">是</option>
                        <option value="0">否</option>
                      </select>
                    </div>
                  </div>
                  <div class="form-group">
                    <label class="col-lg-2 text-right">前端产品代码</label>
                    <div class="col-lg-3">
                      <input class="form-control form-fields" type="text" maxlength="20" id="sFrontendCode" name="sFrontendCode" [(ngModel)]="otoAddOrEditBody.sFrontendCode"
                        disabled>
                    </div>
                    <div class="col-lg-1"></div>
                    <label class="col-lg-2 text-right">前端产品名称</label>
                    <div class="col-lg-3">
                      <input class="form-control form-fields" type="text" maxlength="25" id="sFrontendName" name="sFrontendName" [(ngModel)]="otoAddOrEditBody.sFrontendName"
                        disabled>
                    </div>
                  </div>
                  <div class="form-group">
                    <label class="col-lg-2 text-right">托管人</label>
                    <div class="col-lg-3">

                      <select class="form-control" name="sTrustee" id="sTrustee" [(ngModel)]="otoAddOrEditBody.sTrustee">
                        <option [value]="" selected="selected">--请选择--</option>
                        <option [value]="item.sInstiCode" *ngFor="let item of bankDictionaryList">{{item.sShortName}}</option>
                      </select>
                    </div>
                    <div class="col-lg-1"></div>
                    <label class="col-lg-2 text-right">产品研究员</label>
                    <div class="col-lg-3">
                      <input class="form-control form-fields" name="sResearcher" type="text" maxlength="25" [(ngModel)]="otoAddOrEditBody.sResearcher">
                    </div>
                  </div>
                  <div class="form-group" style="margin-top:10px">
                    <label class="col-lg-2 text-right">销售员</label>
                    <div class="col-lg-3">
                      <input class="form-control form-fields" name="sSalesman" type="text" maxlength="25" [(ngModel)]="otoAddOrEditBody.sSalesman">
                    </div>
                    <div class="col-lg-1"></div>
                    <label class="col-lg-2 text-right">产品类型</label>
                    <div class="col-lg-3">
                      <input class="form-control form-fields" placeholder="一对一专户" name="sFundType" type="text" disabled>
                    </div>
                  </div>
                  <div class="form-group">
                    <label class="col-lg-2 text-right">产品类别</label>
                    <div class="col-lg-3">
                      <select class="form-control" name="sFundCategory" [(ngModel)]="otoAddOrEditBody.sFundCategory">
                        <option [value]="''" selected="selected">--请选择--</option>
                        <option [value]="item.sItemKey" *ngFor="let item of dictionaryList.NEW_FUND_CATEGORY">{{item.sItemValue}}</option>
                      </select>
                    </div>
                    <div class="col-lg-1"></div>
                    <label class="col-lg-2 text-right">是否结构化</label>
                    <div class="col-lg-3">
                      <select class="form-control" name="sIsStructure" [(ngModel)]="otoAddOrEditBody.sIsStructure">
                        <option value="1">是</option>
                        <option value="0">否</option>
                      </select>
                    </div>
                  </div>
                  <div class="form-group">
                    <label class="col-lg-2 text-right">是否保本</label>
                    <div class="col-lg-3">
                      <select class="form-control" name="sIsBreakeven" [(ngModel)]="otoAddOrEditBody.sIsBreakeven">
                        <option value="1">是</option>
                        <option value="0">否</option>
                      </select>
                    </div>
                    <div class="col-lg-1"></div>
                    <label class="col-lg-2 text-right">是否开放申赎</label>
                    <div class="col-lg-3">
                      <select class="form-control" name="sIsProductopen" [(ngModel)]="otoAddOrEditBody.sIsProductopen">
                        <option value="1">是</option>
                        <option value="0">否</option>
                      </select>
                    </div>
                  </div>
                  <div class="form-group">
                    <label class="col-lg-2 text-right">生效日</label>
                    <div class="col-lg-3">
                      <div class="input-group date form_datetime">
                        <span class="input-group-addon">
                          <i class="fa fa-calendar"></i>
                        </span>
                        <input class="form-control" type="text" mwlFlatpickr [ngModelOptions]="{standalone: true}" style="background: white; cursor: pointer;"
                          [(ngModel)]="otoAddOrEditBody.dEffective">
                      </div>
                    </div>
                    <div class="col-lg-1"></div>
                    <label class="col-lg-2 text-right">备案日</label>
                    <div class="col-lg-3">
                      <div class="input-group date form_datetime">
                        <span class="input-group-addon">
                          <i class="fa fa-calendar"></i>
                        </span>
                        <input class="form-control" type="text" mwlFlatpickr [ngModelOptions]="{standalone: true}" style="background: white; cursor: pointer;"
                          [(ngModel)]="otoAddOrEditBody.dRecord">
                      </div>
                    </div>
                  </div>
                  <div class="form-group" style="margin-top:10px">
                    <label class="col-lg-2 text-right">是否通道类专户</label>
                    <div class="col-lg-3">
                      <select class="form-control" name="sIsAisle" [(ngModel)]="otoAddOrEditBody.sIsAisle" (click)="otoIsAisle()">
                        <option value="1">是</option>
                        <option value="0">否</option>
                      </select>
                    </div>
                    <div class="col-lg-1"></div>
                    <label class="col-lg-2 text-right">提供投资建议的第三方机构</label>
                    <div class="col-lg-3">
                      <input class="form-control form-fields" disabled type="text" maxlength="25" id="sCapitalpro" name="sCapitalpro" [(ngModel)]="otoAddOrEditBody.sCapitalpro">
                    </div>
                  </div>
                  <div class="form-group">
                    <label class="col-lg-2 text-right">提供投资建议的第三方机构类型</label>
                    <div class="col-lg-3">
                      <select class="form-control" disabled id="sCapitalproType" name="sCapitalproType" [(ngModel)]="otoAddOrEditBody.sCapitalproType">
                        <option [value]="''" selected="selected">--请选择--</option>
                        <option [value]="item.sItemKey" *ngFor="let item of dictionaryList.CAPITALPRO_TYPE">{{item.sItemValue}}</option>
                      </select>
                    </div>
                    <div class="col-lg-1"></div>
                    <label class="col-lg-2 text-right">预警线</label>
                    <div class="col-lg-3">
                      <input class="form-control form-fields" type="text" maxlength="25" [(ngModel)]="otoAddOrEditBody.sFthreshold" name="sFthreshold">
                    </div>

                  </div>
                  <div class="form-group">
                    <label class="col-lg-2 text-right">平仓线</label>
                    <div class="col-lg-3">
                      <input class="form-control form-fields" type="text" maxlength="25" [(ngModel)]="otoAddOrEditBody.sCloseout" name="sCloseout">
                    </div>
                    <div class="col-lg-1"></div>
                    <label class="col-lg-2 text-right">管理费率(%)</label>
                    <div class="col-lg-3">
                      <input class="form-control form-fields" [min]="0" maxlength="50" #sManagementFee="ngModel" [(ngModel)]="otoAddOrEditBody.sManagementFee"
                        name="sManagementFee">
                      <p *ngIf="sManagementFee.errors?.min" class="errorTip">请输入正数</p>
                    </div>
                  </div>
                  <div class="form-group">
                    <label class="col-lg-2 text-right">托管费率(%)</label>
                    <div class="col-lg-3">
                      <input class="form-control form-fields" [min]="0" maxlength="50" #sTrusteeFee="ngModel" [(ngModel)]="otoAddOrEditBody.sTrusteeFee"
                        name="sTrusteeFee">
                      <p *ngIf="sTrusteeFee.errors?.min" class="errorTip">请输入正数</p>
                    </div>
                    <div class="col-lg-1"></div>
                    <label class="col-lg-2 text-right">其他费率(%)</label>
                    <div class="col-lg-3">
                      <input class="form-control form-fields" [min]="0" maxlength="50" [(ngModel)]="otoAddOrEditBody.sOtherFee" name="sOtherFee">
                    </div>
                  </div>
                  <div class="form-group">
                    <label class="col-lg-2 text-right">业绩比较基准</label>
                    <div class="col-lg-3">
                      <input class="form-control form-fields" type="text" [(ngModel)]="otoAddOrEditBody.sBenchmark" name="sBenchmark">
                    </div>
                    <div class="col-lg-1"></div>
                    <label class="col-lg-2 text-right">业绩报酬</label>
                    <div class="col-lg-3">
                      <input class="form-control form-fields" type="text" [(ngModel)]="otoAddOrEditBody.sCarriedInterest" name="sCarriedInterest">
                    </div>
                  </div>
                  <div class="form-group">
                    <label class="col-lg-2 text-right">估值方法</label>
                    <div class="col-lg-3">
                      <select class="form-control" name="sValuationMethod" [(ngModel)]="otoAddOrEditBody.sValuationMethod">
                        <option [value]="''" selected="selected">--请选择--</option>
                        <option [value]="item.sItemKey" *ngFor="let item of dictionaryList.VALUATION_METHOD">{{item.sItemValue}}</option>
                      </select>
                    </div>
                    <label class="col-lg-3 text-right">托管人统一社会信用编码 </label>
                    <div class="col-lg-3 text-right">
                      <input class="form-control form-fields" type="text" maxlength="25" [(ngModel)]="otoAddOrEditBody.sTrusteeSociologyCode" name="sTrusteeSociologyCode">
                    </div>
                  </div>
                  <!--我是分割线-->
                  <div style="border-top: 4px solid rgb(182, 180, 180);width:85%;margin-left:7%;margin-bottom:15px"></div>
                  <!--我是分割线-->
                  <!--客销部维护的字段-->
                  <div class="form-group">
                    <label class="col-lg-2 text-right">产品代码</label>
                    <div class="col-lg-3">
                      <input class="form-control" type="text" id="sFundCode" maxlength="20" [(ngModel)]="otoAddOrEditBody.sFundCode" name="sFundCode">
                    </div>
                    <div class="col-lg-1"></div>
                    <label class="col-lg-2 text-right">托管户开户行</label>
                    <div class="col-lg-3">
                      <!-- <select class="form-control" type="text" [(ngModel)]="otoAddOrEditBody.sBank" name="sBank">
                          <option [value]="''" selected="selected">--请选择--</option>
                          <option [value]="item.sInstiCode" *ngFor="let item of bankDictionaryList">{{item.sShortName}}</option>
                        </select> -->
                      <input class="form-control" type="text" maxlength="32" [(ngModel)]="otoAddOrEditBody.sBank" name="sBank">
                    </div>
                  </div>
                  <div class="form-group">
                    <label class="col-lg-2 text-right">实际出资人</label>
                    <div class="col-lg-3">
                      <input class="form-control form-fields" type="text" [(ngModel)]="otoAddOrEditBody.sLp" name="sLp">
                    </div>
                    <div class="col-lg-1"></div>
                    <label class="col-lg-2 text-right">起始运作日期</label>
                    <div class="col-lg-3">
                      <div class="input-group date form_datetime">
                        <span class="input-group-addon">
                          <i class="fa fa-calendar"></i>
                        </span>
                        <input class="form-control" type="text" id="dBegin" mwlFlatpickr [ngModelOptions]="{standalone: true}" [(ngModel)]="otoAddOrEditBody.dBegin"
                          style="background: white; cursor: pointer;" (ngModelChange)="countMonth()">
                      </div>
                    </div>
                  </div>
                  <div class="form-group">
                    <label class="col-lg-2 text-right">到期日</label>
                    <div class="col-lg-3">
                      <div class="input-group date form_datetime">
                        <span class="input-group-addon">
                          <i class="fa fa-calendar"></i>
                        </span>
                        <input class="form-control" type="text" id="dEnd" mwlFlatpickr [ngModelOptions]="{standalone: true}" [(ngModel)]="otoAddOrEditBody.dEnd"
                          style="background: white; cursor: pointer;">
                      </div>
                    </div>
                    <div class="col-lg-1"></div>
                    <label class="col-lg-2 text-right">是否自动续约</label>
                    <div class="col-lg-3">
                      <select class="form-control" name="sIsRenewal" [(ngModel)]="otoAddOrEditBody.sIsRenewal">
                        <option value="1">是</option>
                        <option value="0">否</option>
                      </select>
                    </div>
                  </div>
                  <div class="form-group">
                    <label class="col-lg-2 text-right">无固定期限:</label>
                    <div class="col-lg-3">
                      <div class="radio radio-info radio-inline">
                        <input type="radio" id="inlineRadio1" value="1" [(ngModel)]="otoAddOrEditBody.sIsContractPeriod" name="sIsContractPeriod"
                          (ngModelChange)="IsContractPeriod()">
                        <label for="inlineRadio1">是</label>
                      </div>
                      <div class="radio radio-info radio-inline">
                        <input type="radio" id="inlineRadio2" value="0" [(ngModel)]="otoAddOrEditBody.sIsContractPeriod" name="sIsContractPeriod"
                          (ngModelChange)="IsContractPeriod()">
                        <label for="inlineRadio2">否</label>
                      </div>
                    </div>
                    <div class="col-lg-1"></div>
                    <label class="col-lg-2 text-right">合同期限(月)</label>
                    <div class="col-lg-3">
                      <input class="form-control form-fields limit" [min]="0" digits #nContractPeriod="ngModel" id="nContractPeriod" [(ngModel)]="otoAddOrEditBody.nContractPeriod"
                        name="nContractPeriod" (ngModelChange)="countMonth()">
                      <p *ngIf="nContractPeriod.errors?.digits" class="errorTip">请输入正整数</p>
                    </div>
                  </div>
                  <div class="form-group">
                    <label class="col-lg-2 text-right">起始规模(亿元)</label>
                    <div class="col-lg-3">
                      <input class="form-control form-fields" [min]="0" maxlength="50" #sFoundedSize="ngModel" [(ngModel)]="otoAddOrEditBody.sFoundedSize"
                        name="sFoundedSize">
                      <p *ngIf="sFoundedSize.errors?.min" class="errorTip">请输入正数</p>
                    </div>
                    <div class="col-lg-1"></div>
                    <label class="col-lg-2 text-right">估值表</label>
                    <div class="col-lg-3">
                      <select class="form-control" type="text" [(ngModel)]="otoAddOrEditBody.sValuationTable" name="sValuationTable">
                        <option [value]="''" selected="selected">无</option>
                        <option [value]="item.sItemKey" *ngFor="let item of dictionaryList.VALUATION_TABLE">{{item.sItemValue}}</option>
                      </select>
                    </div>
                  </div>
                  <div class="form-group">
                    <label class="col-lg-2 text-right">收益分配条款</label>
                    <div class="col-lg-3">
                      <input class="form-control form-fields" type="text" maxlength="25" [(ngModel)]="otoAddOrEditBody.sBenefitAllocation" name="sBenefitAllocation">
                    </div>
                    <div class="col-lg-1"></div>
                    <label class="col-lg-2 text-right">净值位数</label>
                    <div class="col-lg-3">
                      <select class="form-control" [(ngModel)]="otoAddOrEditBody.nValueDec" name="nValueDec">
                        <option [value]="''" selected="selected">--请选择--</option>
                        <option [value]="item.sItemKey" *ngFor="let item of dictionaryList.VALUE_DEC">{{item.sItemValue}}</option>
                      </select>
                    </div>
                  </div>
                  <div class="form-group">
                    <label class="col-lg-2 text-right">终止方式</label>
                    <div class="col-lg-3">
                      <select class="form-control" [(ngModel)]="otoAddOrEditBody.sStopType" name="sStopType" disabled>
                        <option [value]="''" selected="selected"></option>
                        <option [value]="item.sItemKey" *ngFor="let item of dictionaryList.STOP_TYPE">{{item.sItemValue}}</option>
                      </select>
                    </div>
                    <div class="col-lg-1"></div>
                    <label class="col-lg-2 text-right">终止日期</label>
                    <div class="col-lg-3">
                      <div class="input-group date form_datetime">
                        <span class="input-group-addon">
                          <i class="fa fa-calendar"></i>
                        </span>
                        <input class="form-control" type="text" mwlFlatpickr [ngModelOptions]="{standalone: false}" [(ngModel)]="otoAddOrEditBody.dStop"
                          name="dStop" style="background: #eee; cursor: pointer;" disabled>
                      </div>
                    </div>
                  </div>
                  <div class="form-group">
                    <label class="col-lg-2 text-right">终止原因</label>
                    <div class="col-lg-3">
                      <input class="form-control form-fields" [(ngModel)]="otoAddOrEditBody.sStopReason" name="sStopReason" type="text" disabled>
                    </div>
                  </div>
                  <!--我是分割线-->
                  <div style="border-top: 1px solid #ddd;width:85%;margin-left:7%;margin-bottom:15px"></div>
                  <!--我是分割线-->
                  <div class="form-group">
                    <label class="col-lg-2 text-right">备注</label>
                    <div class="col-lg-9">
                      <textarea [(ngModel)]="otoAddOrEditBody.sRemark" maxlength="250" name="sRemark" cols="20" rows="5" style="width:100%"></textarea>
                    </div>
                  </div>
                  <div class="form-group">
                    <div class="col-lg-1 col-lg-offset-5">
                      <!--未成立修改-->
                      <button  type="button" class="btn btn-primary" (click)="otoAddOrEditBasicInfo()">
                        <i class="fa fa-save"></i>保存
                      </button>
                    </div>
                  </div>
              </form>
              <!-- 一对多 -->
              <form class="form-horizontal" *ngIf="operate == 'onetomany'" #otmAddForm="ngForm">
                  <div class="box box-default">
                    <div class="box-body">
                      <!--投资发展部维护的字段-->
                      <div class="form-group">
                        <label class="col-lg-2 text-right">
                          <span class="span-style">*</span>产品名称</label>
                        <div class="col-lg-3">
                          <input class="form-control form-fields" type="text" maxlength="128" [(ngModel)]="otmAddOrEditBody.sFullName" name="sFullName">
                        </div>
                        <div class="col-lg-1"></div>
                        <label class="col-lg-2 text-right">
                          <span class="span-style">*</span>产品简称</label>
                        <div class="col-lg-3">
                          <input class="form-control form-fields" type="text" maxlength="128" [(ngModel)]="otmAddOrEditBody.sFundName" name="sFundName">
                        </div>
                      </div>

                      <div class="form-group">
                        <label class="col-lg-2 text-right">数字编码</label>
                        <div class="col-lg-3">
                          <input class="form-control form-fields" type="text" maxlength="20" [(ngModel)]="otmAddOrEditBody.sFundNumCode" name="sFundNumCode">
                        </div>
                        <div class="col-lg-1"></div>
                        <label class="col-lg-2 text-right">产品S码</label>
                        <div class="col-lg-3">
                          <input class="form-control form-fields" type="text" maxlength="25" [(ngModel)]="otmAddOrEditBody.sRecordCode" name="sRecordCode">
                        </div>
                      </div>

                      <div class="form-group" style="margin-top:10px">
                        <label class="col-lg-2 text-right">托管人</label>
                        <div class="col-lg-3">
                          <select class="form-control" name="sTrustee" [(ngModel)]="otmAddOrEditBody.sTrustee">
                            <option [value]="''" selected="selected">--请选择--</option>
                            <option [value]="item.sInstiCode" *ngFor="let item of bankDictionaryList">{{item.sShortName}}</option>
                          </select>
                        </div>
                        <div class="col-lg-1"></div>
                        <label class="col-lg-2 text-right">产品研究员</label>
                        <div class="col-lg-3">
                          <input class="form-control form-fields" type="text" maxlength="25" [(ngModel)]="otmAddOrEditBody.sResearcher" name="sResearcher">
                        </div>
                      </div>

                      <div class="form-group">
                        <label class="col-lg-2 text-right">销售员</label>
                        <div class="col-lg-3">
                          <input class="form-control form-fields" type="text" maxlength="25" [(ngModel)]="otmAddOrEditBody.sSalesman" name="sSalesman">
                        </div>
                        <div class="col-lg-1"></div>
                        <label class="col-lg-2 text-right">产品类型</label>
                        <div class="col-lg-3">
                          <input class="form-control" type="text" id="sFundType" placeholder="一对多专户" name="sFundType" disabled>
                        </div>
                      </div>

                      <div class="form-group">
                        <label class="col-lg-2 text-right">产品类别</label>
                        <div class="col-lg-3">
                          <select class="form-control" type="text" [(ngModel)]="otmAddOrEditBody.sFundCategory" name="sFundCategory">
                            <option [value]="''" selected="selected">--请选择--</option>
                            <option [value]="item.sItemKey" *ngFor="let item of dictionaryList.NEW_FUND_CATEGORY">{{item.sItemValue}}</option>
                          </select>
                        </div>
                        <div class="col-lg-1"></div>
                        <label class="col-lg-2 text-right">是否结构化</label>
                        <div class="col-lg-3">
                          <select class="form-control" [(ngModel)]="otmAddOrEditBody.sIsStructure" name="sIsStructure">
                            <option value="1">是</option>
                            <option value="0">否</option>
                          </select>
                        </div>
                      </div>

                      <div class="form-group">
                        <label class="col-lg-2 text-right">是否保本</label>
                        <div class="col-lg-3">
                          <select class="form-control" [(ngModel)]="otmAddOrEditBody.sIsBreakeven" name="sIsBreakeven">
                            <option value="1">是</option>
                            <option value="0">否</option>
                          </select>
                        </div>
                        <div class="col-lg-1"></div>
                        <label class="col-lg-2 text-right">是否开放申赎</label>
                        <div class="col-lg-3">
                          <select class="form-control" [(ngModel)]="otmAddOrEditBody.sIsProductopen" name="sIsProductopen">
                            <option value="1">是</option>
                            <option value="0">否</option>
                          </select>
                        </div>
                      </div>

                      <div class="form-group">
                        <label class="col-lg-2 text-right">发行备案日</label>
                        <div class="col-lg-3">
                          <div class="input-group date form_datetime">
                            <span class="input-group-addon">
                              <i class="fa fa-calendar"></i>
                            </span>
                            <input class="form-control" type="text" style="background: white; cursor: pointer;" [(ngModel)]="otmAddOrEditBody.dIssueRecord"
                              mwlFlatpickr [ngModelOptions]="{standalone: true}">
                          </div>
                        </div>
                        <div class="col-lg-1"></div>
                        <label class="col-lg-2 text-right">是否通道类专户</label>
                        <div class="col-lg-3">
                          <select class="form-control" [(ngModel)]="otmAddOrEditBody.sIsAisle" name="sIsAisle" (click)="otmIsAisle()">
                            <option value="1">是</option>
                            <option value="0">否</option>
                          </select>
                        </div>
                      </div>

                      <div class="form-group">
                        <label class="col-lg-2 text-right">提供投资建议的第三方机构</label>
                        <div class="col-lg-3">
                          <input class="form-control form-fields" type="text" maxlength="25" id="sCapitalpro" name="sCapitalpro" [(ngModel)]="otmAddOrEditBody.sCapitalpro"
                            disabled>
                        </div>
                        <div class="col-lg-1"></div>
                        <label class="col-lg-2 text-right">提供投资建议的第三方机构类型</label>
                        <div class="col-lg-3">
                          <select class="form-control" id="sCapitalproType" disabled name="sCapitalproType" [(ngModel)]="otmAddOrEditBody.sCapitalproType">
                            <option [value]="''" selected="selected">--请选择--</option>
                            <option [value]="item.sItemKey" *ngFor="let item of dictionaryList.CAPITALPRO_TYPE">{{item.sItemValue}}</option>
                          </select>
                        </div>
                      </div>

                      <div class="form-group">
                        <label class="col-lg-2 text-right">预警线</label>
                        <div class="col-lg-3">
                          <input class="form-control form-fields" type="text" maxlength="25" [(ngModel)]="otmAddOrEditBody.sFthreshold" name="sFthreshold">
                        </div>
                        <div class="col-lg-1"></div>
                        <label class="col-lg-2 text-right">平仓线</label>
                        <div class="col-lg-3">
                          <input class="form-control form-fields" type="text" maxlength="25" [(ngModel)]="otmAddOrEditBody.sCloseout" name="sCloseout">
                        </div>
                      </div>

                      <div class="form-group">
                        <label class="col-lg-2 text-right">管理费率(%)</label>
                        <div class="col-lg-3">
                          <input class="form-control form-fields" [min]="0" maxlength="50" #sManagementFee="ngModel" [(ngModel)]="otmAddOrEditBody.sManagementFee"
                            name="sManagementFee">
                          <p *ngIf="sManagementFee.errors?.min" class="errorTip">请输入正数</p>
                        </div>
                        <div class="col-lg-1"></div>
                        <label class="col-lg-2 text-right">托管费率(%)</label>
                        <div class="col-lg-3">
                          <input class="form-control form-fields" [min]="0" maxlength="50" #sTrusteeFee="ngModel" [(ngModel)]="otmAddOrEditBody.sTrusteeFee" name="sTrusteeFee">
                          <p *ngIf="sTrusteeFee.errors?.min" class="errorTip">请输入正数</p>
                        </div>
                      </div>

                      <div class="form-group">
                        <label class="col-lg-2 text-right">认购费率(%)</label>
                        <div class="col-lg-3">
                          <input class="form-control form-fields" [min]="0" maxlength="50" #sSubscriptionFee="ngModel" [(ngModel)]="otmAddOrEditBody.sSubscriptionFee"
                            name="sSubscriptionFee">
                          <p *ngIf="sSubscriptionFee.errors?.min" class="errorTip">请输入正数</p>
                        </div>
                        <div class="col-lg-1"></div>
                        <label class="col-lg-2 text-right">参与费率(%)</label>
                        <div class="col-lg-3">
                          <input class="form-control form-fields" [min]="0" maxlength="50" #sJoinFee="ngModel" [(ngModel)]="otmAddOrEditBody.sJoinFee" name="sJoinFee">
                          <p *ngIf="sJoinFee.errors?.min" class="errorTip">请输入正数</p>
                        </div>
                      </div>

                      <div class="form-group">
                        <label class="col-lg-2 text-right">退出费率(%)</label>
                        <div class="col-lg-3">
                          <input class="form-control form-fields" [min]="0" maxlength="50" #sQuitFee="ngModel" [(ngModel)]="otmAddOrEditBody.sQuitFee" name="sQuitFee">
                          <p *ngIf="sQuitFee.errors?.min" class="errorTip">请输入正数</p>
                        </div>
                        <div class="col-lg-1"></div>
                        <label class="col-lg-2 text-right">其他费率(%)</label>
                        <div class="col-lg-3">
                          <input class="form-control form-fields" [min]="0" maxlength="50" #sOhterFee="ngModel" [(ngModel)]="otmAddOrEditBody.sOhterFee" name="sOhterFee">
                          <p *ngIf="sOhterFee.errors?.min" class="errorTip">请输入正数</p>
                        </div>
                      </div>

                      <div class="form-group">
                        <label class="col-lg-2 text-right">业绩比较基准</label>
                        <div class="col-lg-3">
                          <input class="form-control form-fields" type="text" [(ngModel)]="otmAddOrEditBody.sBenchmark" name="sBenchmark">
                        </div>
                        <div class="col-lg-1"></div>
                        <label class="col-lg-2 text-right">业绩报酬</label>
                        <div class="col-lg-3">
                          <input class="form-control form-fields" type="text" [(ngModel)]="otmAddOrEditBody.sCarriedInterest" name="sCarriedInterest">
                        </div>
                      </div>

                      <div class="form-group">
                        <label class="col-lg-2 text-right">估值方法</label>
                        <div class="col-lg-3">
                          <select class="form-control" [(ngModel)]="otmAddOrEditBody.sValuationMethod" name="sValuationMethod">
                            <option [value]="''" selected="selected">--请选择--</option>
                            <option [value]="item.sItemKey" *ngFor="let item of dictionaryList.VALUATION_METHOD">{{item.sItemValue}}</option>
                          </select>
                        </div>
                        <label class="col-lg-3 text-right">托管人统一社会信用编码 </label>
                        <div class="col-lg-3 text-right">
                          <input class="form-control form-fields" type="text" maxlength="25" [(ngModel)]="otmAddOrEditBody.sTrusteeSociologyCode" name="sTrusteeSociologyCode">
                        </div>
                      </div>

                      <!--我是分割线-->
                      <div style="border-top: 4px solid rgb(182, 180, 180);width:85%;margin-left:7%;margin-bottom:15px"></div>
                      <!--我是分割线-->
                      <!--客销部维护的字段-->
                      <div class="form-group">
                        <label class="col-lg-2 text-right">产品代码</label>
                        <div class="col-lg-3">
                          <input class="form-control" type="text" id="sFundCode" maxlength="20" [(ngModel)]="otmAddOrEditBody.sFundCode" name="sFundCode">
                        </div>
                        <div class="col-lg-1"></div>
                        <label class="col-lg-2 text-right">生效日</label>
                        <div class="col-lg-3">
                          <div class="input-group date form_datetime">
                            <span class="input-group-addon">
                              <i class="fa fa-calendar"></i>
                            </span>
                            <input class="form-control" type="text" style="background: white; cursor: pointer;" [(ngModel)]="otmAddOrEditBody.dEffective"
                              mwlFlatpickr [ngModelOptions]="{standalone: true}">
                          </div>
                        </div>
                      </div>

                      <div class="form-group">
                        <label class="col-lg-2 text-right">托管户开户行</label>
                        <div class="col-lg-3">
                          <!-- <select class="form-control" type="text" [(ngModel)]="otmAddOrEditBody.sBank" name="sBank">
                          <option [value]="''" selected="selected">--请选择--</option>
                          <option [value]="item.sInstiCode" *ngFor="let item of bankDictionaryList">{{item.sFullName}}</option>
                        </select> -->
                          <input class="form-control" type="text" maxlength="32" [(ngModel)]="otmAddOrEditBody.sBank" name="sBank">
                        </div>
                        <div class="col-lg-1"></div>
                        <label class="col-lg-2 text-right">实际出资人</label>
                        <div class="col-lg-3">
                          <input class="form-control" type="text" maxlength="25" [(ngModel)]="otmAddOrEditBody.sLp" name="sLp">
                        </div>
                      </div>

                      <div class="form-group">
                        <label class="col-lg-2 text-right">起始运作日期</label>
                        <div class="col-lg-3">
                          <div class="input-group date form_datetime">
                            <span class="input-group-addon">
                              <i class="fa fa-calendar"></i>
                            </span>
                            <input class="form-control" id="dBegin" type="text" style="background: white; cursor: pointer;" [(ngModel)]="otmAddOrEditBody.dBegin"
                              mwlFlatpickr [ngModelOptions]="{standalone: true}" (ngModelChange)="countMonth()">
                          </div>
                        </div>
                        <div class="col-lg-1"></div>
                        <label class="col-lg-2 text-right">到期日</label>
                        <div class="col-lg-3">
                          <div class="input-group date form_datetime">
                            <span class="input-group-addon">
                              <i class="fa fa-calendar"></i>
                            </span>
                            <input class="form-control" id="dEnd" type="text" style="background: white; cursor: pointer;" [(ngModel)]="otmAddOrEditBody.dEnd"
                              mwlFlatpickr [ngModelOptions]="{standalone: true}">
                          </div>
                        </div>
                      </div>

                      <div class="form-group">
                        <label class="col-lg-2 text-right">无固定期限:</label>
                        <div class="col-lg-3">
                          <div class="radio radio-info radio-inline">
                            <input type="radio" id="inlineRadio1" value="1" [(ngModel)]="otmAddOrEditBody.sIsContractPeriod" name="sIsContractPeriod"
                              (ngModelChange)="IsContractPeriod()">
                            <label for="inlineRadio1">是</label>
                          </div>
                          <div class="radio radio-info radio-inline">
                            <input type="radio" id="inlineRadio2" value="0" [(ngModel)]="otmAddOrEditBody.sIsContractPeriod" name="sIsContractPeriod"
                              (ngModelChange)="IsContractPeriod()">
                            <label for="inlineRadio2">否</label>
                          </div>
                        </div>
                        <div class="col-lg-1"></div>
                        <label class="col-lg-2 text-right">合同期限(月)</label>
                        <div class="col-lg-3">
                          <input class="form-control form-fields" [min]="0" digits #nContractPeriod="ngModel" id="nContractPeriod" [(ngModel)]="otmAddOrEditBody.nContractPeriod"
                            name="nContractPeriod" (ngModelChange)="countMonth()">
                          <p *ngIf="nContractPeriod.errors?.digits" class="errorTip">请输入正整数</p>
                        </div>
                      </div>

                      <div class="form-group">
                        <label class="col-lg-2 text-right">是否自动续约</label>
                        <div class="col-lg-3">
                          <select class="form-control" [(ngModel)]="otmAddOrEditBody.sIsRenewal" name="sIsRenewal">
                            <option value="1">是</option>
                            <option value="0">否</option>
                          </select>
                        </div>
                        <div class="col-lg-1"></div>
                        <label class="col-lg-2 text-right">起始规模(亿元)</label>
                        <div class="col-lg-3">
                          <input class="form-control form-fields" [min]="0" maxlength="50" #sFoundedSize="ngModel" [(ngModel)]="otmAddOrEditBody.sFoundedSize"
                            name="sFoundedSize">
                          <p *ngIf="sFoundedSize.errors?.min" class="errorTip">请输入正数</p>
                        </div>
                      </div>

                      <div class="form-group">
                        <label class="col-lg-2 text-right">投资者数量</label>
                        <div class="col-lg-3">
                          <input class="form-control form-fields" [min]="0" maxlength="9" digits #nInvestorCount="ngModel" [(ngModel)]="otmAddOrEditBody.nInvestorCount"
                            name="nInvestorCount">
                          <p *ngIf="nInvestorCount.errors?.digits" class="errorTip">请输入正整数</p>
                        </div>
                        <div class="col-lg-1"></div>
                        <label class="col-lg-2 text-right">销售渠道</label>
                        <div class="col-lg-3">
                          <select class="form-control select2 fields-select" multiple="multiple" name="salesSelectList" [(ngModel)]="salesSelectList">
                            <option [value]="item.sItemKey" *ngFor="let item of saleslList">{{item.sItemValue}}</option>
                          </select>
                        </div>
                      </div>

                      <div class="form-group">
                        <label class="col-lg-2 text-right">发行起始日</label>
                        <div class="col-lg-3">
                          <div class="input-group date form_datetime">
                            <span class="input-group-addon">
                              <i class="fa fa-calendar"></i>
                            </span>
                            <input class="form-control" type="text" style="background: white; cursor: pointer;" [(ngModel)]="otmAddOrEditBody.dIssue"
                              mwlFlatpickr [ngModelOptions]="{standalone: true}">
                          </div>
                        </div>
                        <div class="col-lg-1"></div>
                        <label class="col-lg-2 text-right">发行结束日</label>
                        <div class="col-lg-3">
                          <div class="input-group date form_datetime">
                            <span class="input-group-addon">
                              <i class="fa fa-calendar"></i>
                            </span>
                            <input class="form-control" type="text" style="background: white; cursor: pointer;" [(ngModel)]="otmAddOrEditBody.dIssueEnd"
                              mwlFlatpickr [ngModelOptions]="{standalone: true}">
                          </div>
                        </div>
                      </div>

                      <div class="form-group">
                        <label class="col-lg-2 text-right">参与开放规定</label>
                        <div class="col-lg-3">
                          <input class="form-control form-fields" type="text" maxlength="128" [(ngModel)]="otmAddOrEditBody.sJoinOpenStipulate" name="sJoinOpenStipulate">
                        </div>
                        <div class="col-lg-1"></div>
                        <label class="col-lg-2 text-right">所在TA</label>
                        <div class="col-lg-3">
                          <select class="form-control" [(ngModel)]="otmAddOrEditBody.sWhichTa" name="sWhichTa">
                            <option [value]="''" selected="selected">--请选择--</option>
                            <option value="1">自建TA</option>
                          </select>
                        </div>
                      </div>

                      <div class="form-group">
                        <label class="col-lg-2 text-right">币种</label>
                        <div class="col-lg-3">
                          <select class="form-control" [(ngModel)]="otmAddOrEditBody.sCurrency" name="sCurrency">
                            <option [value]="''" selected="selected">--请选择--</option>
                            <option [value]="item.sItemKey" *ngFor="let item of dictionaryList.CURRENCY">{{item.sItemValue}}</option>
                          </select>
                        </div>
                        <div class="col-lg-1"></div>
                        <label class="col-lg-2 text-right">链接基金</label>
                        <div class="col-lg-3">
                          <select class="form-control" [(ngModel)]="otmAddOrEditBody.sIsLinkfund" name="sIsLinkfund">
                            <option value="1">是</option>
                            <option value="0">否</option>
                          </select>
                        </div>
                      </div>

                      <div class="form-group">
                        <label class="col-lg-2 text-right">风险收益特征</label>
                        <div class="col-lg-3">
                          <input class="form-control form-fields" type="text" [(ngModel)]="otmAddOrEditBody.sRiskReturn" name="sRiskReturn">
                        </div>
                        <div class="col-lg-1"></div>
                        <label class="col-lg-2 text-right">净值位数</label>
                        <div class="col-lg-3">
                          <select class="form-control" [(ngModel)]="otmAddOrEditBody.nValueDec" name="nValueDec">
                            <option [value]="''" selected="selected">--请选择--</option>
                            <option [value]="item.sItemKey" *ngFor="let item of dictionaryList.VALUE_DEC">{{item.sItemValue}}</option>
                          </select>
                        </div>
                      </div>

                      <div class="form-group">
                        <label class="col-lg-2 text-right">投资目标</label>
                        <div class="col-lg-3">
                          <input class="form-control form-fields" type="text" [(ngModel)]="otmAddOrEditBody.sInvestTarget" name="sInvestTarget">
                        </div>
                        <div class="col-lg-1"></div>
                        <label class="col-lg-2 text-right">投资范围</label>
                        <div class="col-lg-3">
                          <input class="form-control form-fields" type="text" [(ngModel)]="otmAddOrEditBody.sInvestScope" name="sInvestScope">
                        </div>
                      </div>

                      <div class="form-group">
                        <label class="col-lg-2 text-right">网站基金性质</label>
                        <div class="col-lg-3">
                          <select class="form-control" [(ngModel)]="otmAddOrEditBody.sWsFundProperty" name="sWsFundProperty">
                            <option [value]="''" selected="selected">--请选择--</option>
                            <option [value]="item.sItemKey" *ngFor="let item of dictionaryList.WS_FUND_PROPERTY">{{item.sItemValue}}</option>
                          </select>
                        </div>
                        <div class="col-lg-1"></div>
                        <label class="col-lg-2 text-right">网站基金属性</label>
                        <div class="col-lg-3">
                          <select class="form-control" [(ngModel)]="otmAddOrEditBody.sWsFundAttribute" name="sWsFundAttribute">
                            <option [value]="''" selected="selected">--请选择--</option>
                            <option [value]="item.sItemKey" *ngFor="let item of dictionaryList.WS_FUND_ATTRIBUTE">{{item.sItemValue}}</option>
                          </select>
                        </div>
                      </div>

                      <div class="form-group">
                        <label class="col-lg-2 text-right">显示顺序</label>
                        <div class="col-lg-3">
                          <input class="form-control form-fields" [min]="0" maxlength="9" digits #nWsShowOrder="ngModel" [(ngModel)]="otmAddOrEditBody.nWsShowOrder"
                            name="nWsShowOrder">
                          <p *ngIf="nWsShowOrder.errors?.digits" class="errorTip">请输入正整数</p>
                        </div>
                        <div class="col-lg-1"></div>
                        <label class="col-lg-2 text-right">网站是否显示</label>
                        <div class="col-lg-3">
                          <select class="form-control" [(ngModel)]="otmAddOrEditBody.sIsShowWs" name="sIsShowWs">
                            <option value="1">是</option>
                            <option value="0">否</option>
                          </select>
                        </div>
                      </div>

                      <div class="form-group">
                        <label class="col-lg-2 text-right">是否仅周末发布</label>
                        <div class="col-lg-3">
                          <select class="form-control" [(ngModel)]="otmAddOrEditBody.sIsPublichWeekend" name="sIsPublichWeekend">
                            <option value="1">是</option>
                            <option value="0">否</option>
                          </select>
                        </div>
                        <div class="col-lg-1"></div>
                        <label class="col-lg-2 text-right">发布时是否过滤</label>
                        <div class="col-lg-3">
                          <select class="form-control" [(ngModel)]="otmAddOrEditBody.sIsFilter" name="sIsFilter">
                            <option value="1">是</option>
                            <option value="0">否</option>
                          </select>
                        </div>
                      </div>

                      <div class="form-group">
                        <label class="col-lg-2 text-right">终止方式</label>
                        <div class="col-lg-3">
                          <select class="form-control" [(ngModel)]="otmAddOrEditBody.sStopType" name="sStopType" disabled>
                            <option [value]="''" selected="selected"></option>
                            <option [value]="item.sItemKey" *ngFor="let item of dictionaryList.STOP_TYPE">{{item.sItemValue}}</option>
                          </select>
                        </div>
                        <div class="col-lg-1"></div>
                        <label class="col-lg-2 text-right">IPAD是否显示</label>
                        <div class="col-lg-3">
                          <select class="form-control" [(ngModel)]="otmAddOrEditBody.sIsShowIpad" name="sIsShowIpad">
                            <option value="1">是</option>
                            <option value="0">否</option>
                          </select>
                        </div>
                      </div>

                      <div class="form-group">
                        <label class="col-lg-2 text-right">终止日期</label>
                        <div class="col-lg-3">
                          <div class="input-group date form_datetime">
                            <span class="input-group-addon">
                              <i class="fa fa-calendar"></i>
                            </span>
                            <input class="form-control" type="text" style="background: #eee; cursor: pointer;" [(ngModel)]="otmAddOrEditBody.dStop" mwlFlatpickr
                              [ngModelOptions]="{standalone: false}" name="dStop" disabled>
                          </div>
                        </div>
                        <div class="col-lg-1"></div>
                        <label class="col-lg-2 text-right">终止原因</label>
                        <div class="col-lg-3">
                          <input class="form-control form-fields" type="text" maxlength="250" title="{{otmAddOrEditBody.sStopReason}}" [(ngModel)]="otmAddOrEditBody.sStopReason"
                            name="sStopReason" disabled>
                        </div>
                      </div>

                      <!--我是分割线-->
                      <div style="border-top: 1px solid #ddd;width:85%;margin-left:7%;margin-bottom:15px"></div>
                      <!--我是分割线-->

                      <div class="form-group">
                        <label class="col-lg-2 text-right">备注</label>
                        <div class="col-lg-9">
                          <textarea name="" id="" cols="20" rows="5" maxlength="250" style="width:100%" [(ngModel)]="otmAddOrEditBody.sRemark" name="sRemark"></textarea>
                        </div>
                      </div>

                    </div>
                  </div>

                  <div class="form-group" style="margin-top: 15px">
                    <div class="col-lg-1 col-lg-offset-5">
                        <button type="button" class="btn btn-primary" (click)="otmAddOrEditBasicInfo()" [disabled]="sManagementFee.errors?.min || sTrusteeFee.errors?.min">
                            <i class="fa fa-save"></i>保存</button>
                    </div>
                  </div>
                </form>
            </div>


          </div>
        </div>
      </div>
    </div>
  </div>
</div>
